package com.zhuoyue.biz.core.api.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuoyue.biz.core.api.domain.SysThirdData;
import com.zhuoyue.biz.core.api.domain.third.EzViewDO;
import com.zhuoyue.biz.core.api.domain.third.JpushDO;
import com.zhuoyue.biz.core.api.domain.third.SmsDO;

/**
 * 第三方数据管理
 *
 * @author wjming
 */
@DS("slave_3")
public interface SysThirdDataMapper extends BaseMapper<SysThirdData> {

    /**
     * 获取推送信息
     *
     * @param organization
     * @return
     */
    JpushDO selectJpushMessage(String organization);

    /**
     * 查询sms信息
     *
     * @param organizationCode
     * @return
     */
    SmsDO selectSmsMessage(String organizationCode);

    /**
     * 查询萤石数据
     *
     * @param orgCode
     * @return
     */
    EzViewDO selectEzView(String orgCode);

}